@charset "utf-8";
/**
 * Created by Toma on 2016-7-9 22:04:36
 * @project SZG
 * @version 1.0.1
 */

// theme
$theme: #ffa726;

@import "toma";
@import "template";

// 引用后添加的
@import "item";
@import "management";


/* common */
ul,li{
  list-style: none;
  margin: 0;
  padding: 0;
}
.bg-theme{
  background: $theme;
}
.text-theme{
  color: $theme;
}
%inb{
  display: inline-block;
  vertical-align: middle;
}



/* 登录页 */
.app-mask{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/bg2.jpg) no-repeat center/cover;
  z-index: -1;
}
.app-login-header{
  padding-top: 60px;
  img{
    width: 120px;
    height: 120px;
  }
  h1{
    font-size: 28px;
    margin: 15px auto 30px;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,0,0,.1);
  }
}
.app-login-con{
  max-width: 500px;
  margin: 0 auto 40px;
}
.app-btn-cir{
  display: block;
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  margin: 40px auto 0;
  text-align: center;
  line-height: 70px;
  padding-left: 2px;
  color: #bbb !important;
}
.app-ewm{
  margin:0 auto 40px;
  text-align: center;
  img{
    width: 200px;
    height: 200px;
  }
}

/* footer */
.app-foot{
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 13px;
  padding: 20px;
  min-height: 160px;
}
.app-footer-about{
  margin-bottom: 20px;
  h3{
    @extend %inb;
    margin: 0;
    margin-right: 20px;
  }
}
.app-ewm-down{
  @extend %inb;
  img{
    width: 72px;
    height: 72px;
    margin-right: 10px;
  }
}
.app-btn-grop{
  @extend %inb;
}

/* 圈圈 */
.app-circle{
  @extend %inb;
  width: 40px;
  height: 40px;
  line-height: 38px;
  border-radius: 50%;
  border: 1px solid #ddd;
  margin-top: -10px;
  text-align: center;
  color: #bbb !important;
}
.app-circle-lg{
  @extend .app-circle;
  width: 72px;
  height: 72px;
  line-height: 70px;
  margin-top:0;
  color: #333 !important;
}
.app-circle-sm{
  @extend .app-circle;
  width: 55px;
  height: 55px;
  line-height: 53px;
  margin-top:0;
  font-size: 13px;
  color: #333 !important;
}

/* 注册页面 */
.app-reg-head{
  padding-top: 45px;
  margin-bottom: 30px;
}
.app-reg-con{
  margin-bottom: 300px;
}
.app-reg-hi{
  position: relative;
  &::before{
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    width: 100%;
    border-top:1px solid #ddd;
  }
  &:first-child::before{
    width: 50%;
    left: 50%;
  }
  &:last-child::before{
    width: 50%;
    right: 50%;
  }
  i{
    position: relative;
    color: #bbb;
    z-index: 2;
    background: #fff;
  }
  h3{
    margin: 5px auto 10px;
    font-size: 20px;
  }
}

/* 表单 */
.app-radio{
  margin-top: 5px!important;
  .radio,
  .checkbox{
    min-height: 0;
    padding-top: 0;
    vertical-align: text-bottom;
  }
}
.app-row-sub{
  text-align: center;
}

.app-form{
  .form-group{
    margin-bottom: 22px;
  }
}

/* 公司简介 */
.app-com-info{
  padding-top: 70px;
  .panel-heading{
    font-size: 20px;
  }
  .panel-body p{
    font-size: 16px;
    line-height: 1.6;
    text-indent: 32px;
  }
}

/*　忘记密码　*/
.app-fp-it{
  p{
    font-size: 16px;
  }
  &.active{
    .app-point-s{
      background-color: $theme;
    }
    .app-c-line{
      border-top: 4px solid $theme;
    }
    p{
      color: $theme;
    }
  }
}
.app-point-s{
  position: relative;
  width: 20px;
  height: 20px;
  background: #ddd;
  border-radius: 50%;
  margin: 10px auto;
  z-index: 2;
}
.app-c-line{
  position: absolute;
  top: 18px;
  left: 0;
  display: inline-block;
  content: '';
  width: 100%;
  border-top: 4px solid #ddd;
  &.first{
    left: 50%;
    width: 50%;
  }
  &.last{
    right: 50%;
    width: 50%;
  }
}

/* 产品管理 */
.app-product-title{
  font-size: 18px;
  line-height: 1.4;
}

/* 添加产品基本信息 */
.app-additem{
  margin-left: 120px;
  margin-top: 5px;
  span{
    line-height: 40px;
    text-decoration: none;
    padding: 6px 12px;
    background: rgba(0,0,0,.8);
    color: #fff;
    border-radius: 4px;
    margin-right: 5px;
    cursor: pointer;
    i{
      margin-left: 5px;
    }
  }
}

/* 上传图片组件 start*/
.app-product-imgup{
  position: relative;
  display: block;
  width: 100%;
  height: 196px;
  //line-height: 196px;
  background: #DDD;
  text-align: center;
  font-size: 36px;
  color: #b3b3b3 !important;
  text-decoration: none !important;
}
.imgup-btn{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}
.upload_choose{
  display: block;
  padding:1em;
  font-weight: inherit;
  cursor: pointer;
  input{
    opacity: 0;
  }
}
.upload_drag_area{
  display:inline-block;
  width:100%;
  padding:4em 0;
  border:1px dashed #ddd;
  background:#fff;
  color:#999;
  text-align:center;
  vertical-align:middle;
}
.upload_drag_hover{
  border-color:#069;
  box-shadow:inset 2px 2px 4px rgba(0, 0, 0, .5);
  color:#333;
}
.upload_preview{
  overflow:hidden;
  _zoom:1;
}
.upload_append_list{
  padding:0 1em;
  float:left;
  position:relative;
}
.upload_delete{margin-left:2em;}
.upload_image{max-height:250px; padding:5px;}
.upload_submit{padding-top:1em; padding-left:1em;}
.upload_submit_btn{display:none;}
.upload_progress{
  display:none;
  padding:5px;
  border-radius:10px;
  color:#fff;
  background-color:rgba(0,0,0,.6);
  position:absolute;
  left:25px;
  top:45px;
}

.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;

  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.swiper-close{
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  cursor: pointer;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 26px;
}
.swiper-pagination-bullet-active{
  background:#ddd !important;
}
/* 上传图片组件 end*/


/* 新增产品行程 */
.app-stroke{
  display: table;
  width: 100%;
  margin-bottom: 20px;
  .app-srk-lt{
    position: relative;
    display: table-cell;
    width: 70px;
    padding-right: 15px;
    .app-circle-sm{
      position: relative;
      z-index: 2;
      background: #fff;
    }

    &::before{
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 27px;
      height: 100%;
      border-left:1px solid #ddd;
    }
    &::after{
      content: '';
      display: block;
      position: absolute;
      top: 100%;
      left: 27px;
      height: 20px;
      border-left:1px solid #ddd;
    }
  }
  .app-srk-con{
    display: table-cell;
    border: 1px solid #ddd;
    background: #F5F5F5;
    .app-circle{
      margin: 0 5px 0 0;
      background: #fff;
      text-decoration: none;
    }
  }
  .app-srk-rt{
    display: table-cell;
    width: 44px;
    padding-left: 15px;
  }
  .app-srk-imgup{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 133px;
    background: #ddd;
  }
  &:first-child{
    .app-srk-lt{
      &::before{
        top: 15%;
        height: 85%;
      }
    }
  }
  &:last-child{
    .app-srk-lt{
      &::before{
        top: 0;
        height: 15%;
      }
      &::after{
        height: 0;
      }
    }
  }
}
.str-check{
  cursor: pointer;
  input[type="checkbox"]{
    position: absolute;
    opacity: 0;
  }
  input[type="checkbox"]:checked + span{
    background: #c3c5d8;
    color: #fff !important;
    border-color: transparent;
  }
}
.imageup-item{
  text-align: center;
  line-height: 133px;
  font-size: 26px;
  text-decoration: none !important;
  color: #bbb !important;
}



/* datalist */
.datalist{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 200px;
  overflow-y: scroll;
  z-index: 2000;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #ddd;
  box-shadow: 0 3px 8px rgba(0,0,0,.1);
  ul>li{
    padding: 8px;
    cursor: pointer;
    &:hover{
      background: #F5F5F5;
    }
  }
}

/* 错误提示 */
.err{
  border-color: #e74b31 !important;
}
.ts{
  position: absolute;
  top: 42px;
  left: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #e74b31;
}

/* 地图查询框 */
.maplist{
  display: none;
  position: absolute;
  width:330px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #f5f5f5;
  z-index: 99;
  .tab-content{
    min-height: 200px;
    border-top: 0;
    background: #fff;
  }
  .ml-header a,
  .ml-body a{
    padding: 5px;
    float: left;
  }
}

/* 库存 */
.app-inventory-nav{
  text-align: center;
  li{
    display: inline-block;
    vertical-align: middle;
    >a{
      padding: 6px 18px;
      font-size: 18px;
    }
    &.active > a{
      color: $theme;
    }
    &:first-child a,
    &:last-child a{
      color: #777 !important;
      text-decoration: none !important;
    }
    span{
      color: #777;
    }
  }
}
.invent-table{
  th{
    vertical-align: middle !important;
  }
  th,td{
    width: (100%/8);
    text-align: center;
    padding: 10px !important;
  }
}
.badge-btn{
  font-weight: inherit;
  margin-bottom: 0;
  cursor: pointer;
  span{
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 200px;
    font-size: 12px;
    padding: 2px 6px;
    text-decoration: none !important;
    white-space:nowrap;
    line-height: 2;
  }
  input[type="checkbox"]{
    position: absolute;
    opacity: 0;
  }
  input[type="checkbox"]:checked + span,
  &.theme-btn span{
    background: $theme;
    color: #fff !important;
    border-color: transparent;
  }
}

/* 库存表 */
.table-center{
  th,td{
    text-align: center;
    vertical-align: middle !important;
  }
}
.invent-datelist{
  overflow: auto;
  background: #f5f5f5;
  height: 100%;
}
.seld-x{
  float: right;
  line-height: 1.2;
  cursor: pointer;
}


/* 日历插件 */
@import "calendar";
.ca{
  font: 500 14px 'roboto';
  color: #333;
  .view{
    border: 1px solid #ddd;
    background: #fff;
  }
  a {
    text-decoration: none;
  }
  ul, ol, li {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  p {
    margin: 0;
  }
  .calendar-hd {
    padding: 10px 0;
    height: 50px;
    line-height: 34px;
  }
}

/* 销售中心 */
.pl-col{
  border-bottom: 1px solid #ddd;
}
.app-sxk{
  label{
    font-weight: normal;
    margin-left: 10px;
    padding: 3px 10px;
    font-size: 13px;
    border-radius: 200px;
    cursor: pointer;
    &.active{
      background: $theme;
      color: #fff;
    }
  }
}
.app-checkbox-box{
  label{
    margin-left: 10px;
  }
}
.pl-link{
  cursor: pointer;
  margin-top:-1px;
}
.j_hx{
  display: none;
}
.commohd{
  margin-bottom: 15px;
}
.app-media{
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  .media-left{
    position: relative;
    padding: 0;
  }
  .media-heading{
    margin-bottom: 15px;
  }
  .media-bd{
    min-height: 80px;
  }
  p{
    margin-left: 10px;
    color: #777;
    margin-bottom: 5px;
  }
  .money{
    margin-bottom: 0;
    line-height:1;
  }
  .bigmoney{
    font-size: 40px;
    color: $theme;
  }
  .ma-tit{
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 10px;
    color: #fff;
    overflow: hidden;
    background: rgba(0,0,0,0.7);
  }
  .ma-tip{
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100px;
    height: 56px;
    text-align: center;
    line-height: 80px;
    font-size: 13px;
    color: #fff;
    background: $theme;
    transform: rotate(-45deg) translate(-16px,-34px);
  }
}

/* 产品详情 */
.sl-dl-hd{
  font-size: 16px;
  .l-tit{
    padding-left: 10px;
    border-left: 1px solid #ddd;
    color: #777;
    vertical-align: middle;
  }
  .r-name{
    padding-right: 10px;
    color: #777;
    line-height: 50px;
  }
}
.sl-dl-bd{
  .bd-slid{
    width: 100%;
    height: 408px;
    background: #f5f5f5;
  }
  .w480{
    width: 480px;
  }
  .bd-l{
    padding-right: 15px;
  }
  .bd-r{
    vertical-align: top;
    min-height: 500px;
    background: #f9f9f9;
  }
  .bd-info{
    p{
      font-size: 15px;
    }
    i{
      color: #777;
    }
  }
}
.bd-share a{
  color: #555;
  text-decoration: none;
}
.crl-col{
  padding-top: 26px !important;
  .vm2{
    margin-right: -2px !important;
  }
}
/* 详情信息 */
.d-pb-item{
  padding-left: 25px;
  overflow: hidden;
  .i-hd{
    position: relative;
    width: 90px;
    height: 90px;
    background: #6d7073;
    text-align: center;
    padding-top: 19px;
    font-size: 22px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: -45px;
    &::before{
      content: '';
      display: block;
      position: absolute;
      width: 908px;
      height: 1px;
      background: #ddd;
      top: 50%;
      left: 100%;
      z-index: 0;
    }
    .i-hd-si{
      position: absolute;
      white-space: nowrap;
      font-size: 14px;
      left: 110px;
      top: 5px;
    }
    &.ihd-no-b{
      margin-bottom: 22px;
      margin-right: 15px;
      display: inline-block;
      &::before{
        content: '';
        width:0;
      }
      & + p{
        vertical-align: top;
        padding-top: 18px;
      }
    }
  }
  .i-con{
    position: relative;
    margin-left: 110px;
    padding-top: 15px;
    border-bottom: 1px solid #ddd;
    &:last-child{
      border-bottom: 0;
    }
  }
}
.jt-item{
  margin-left: 40px;
  margin-bottom: 15px;
  .jt-kbd{
    background: $theme;
    box-shadow: none;
  }
  .jt-line{
    display: inline-block;
    width: 70px;
    height: 1px;
    background: $theme;
    vertical-align: -8px;
  }
  .jt-con{
    margin: 0 50px;
  }
}
.xc-hd-bt{
  font-size: 60px;
  font-weight: 100;
  margin: 0;
  margin-right: 20px;
}
.xc-hd-js{
  p{
    font-size: 16px;
    i{
      margin: 0 10px;
    }
  }
  span{
    font-size: 13px;
  }
}
.xc-bd-timeline{
  .xc-hd{
    position: relative;
    padding-left: 55px;
    padding-bottom: 40px;
    &::before{
      content:'';
      display: block;
      position: absolute;
      width: 1px;
      height: 100%;
      top: 0;
      left: 17px;
      background: #ddd;
    }
  }

  &:first-child .xc-hd::before,
  &:last-child li:last-child::before{
    content: '';
    height: 0;
  }

  li{
    position: relative;
    padding-left: 60px;
    padding-bottom: 40px;
    &::before{
      content:'';
      display: block;
      position: absolute;
      width: 1px;
      height: 100%;
      top: 0;
      left: 17px;
      background: #ddd;
    }
  }
  li > i{
    position: absolute;
    left: 0;
    top: 0;
  }
  li img{
    max-width: 80%;
  }
}
/* 购物 */
.gw-table{
  tbody>tr>td,
  thead>tr>th{
    border: 0;
    text-align: center;
  }
  thead>tr>th{
    font-weight: normal;
    color: $theme;
  }
  tbody>tr>td{
    padding-bottom: 12px;
  }
  .gw-kbd{
    padding: 2px 6px;
    background: $theme;
    box-shadow: none;
  }
}
/* 材料 */
.cl-tabs{
  background: #f5f5f5;
  &>li.active>a,
  &>li.active>a:hover,
  &>li.active>a:focus{
    border-color: #ddd;
    border-radius: 0;
  }
}
.cl-table{
  border:none;
  tbody>tr>td{
    padding: 12px;
    text-align: center;
  }
  tr>td:last-child{
    padding-left: 30px;
    text-align: left;
    p{
      margin: 0;
      line-height: 1.6;
    }
  }
}
/* 用户评论 */
.dp-btn-group{
  margin-top: -46px;
  float: right;
}
.sales-comment{
  margin-top: 10px;
  .media-left{
    padding-right: 20px;
  }
  li{
    padding-bottom: 15px;
  }
  .comm-con{
    min-height: 60px;
  }
}



/* 详情日历 */
.caaal{
  height: 530px;
}
.cccal-table{
  width: 100%;
  border-bottom: 10px solid #f9f9f9;
  background: #f9f9f9;
  th,td,caption{
    text-align: center;
  }
  th,td{
    width: (100%/7);
  }
  caption{
    padding: 10px;
    label{
      margin: 0;
      line-height: 1.4;
      cursor: pointer;
      font-size: 16px;
    }
  }
  td{
    vertical-align: top;
    padding: 10px;
    cursor: pointer;
    p{
      margin: 0;
    }
    label{
      display: block;
      min-height: 28px;
      margin: 0;
      margin-top: 5px;
      line-height: 1.2;
      font-weight:normal;
      font-size: 12px;
      color: $theme;
      cursor: pointer;
    }
  }
  th{
    background: #eaeaea;
    padding: 10px;
  }
}

// 遮罩层
.content-mask{
  position: absolute;
  z-index: 80;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(254, 254, 254, 1);
  text-align: center;
  i{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -13px;
  }
}


/* 立即预定 */
.reser-topprompt{
  display: table;
  width: 100%;
  .reser-tpt-i{
    position: relative;
    display: table-cell;
    width: 20%;
    text-align: center;
    span{
      position: relative;
      z-index: 2;
      display: inline-block;
      width: 36px;
      height: 36px;
      line-height: 36px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid #ddd;
    }
    &.active span{
      background: $theme;
      border: 1px solid transparent;
      color: #fff;
    }
    &::after{
      content: '';
      display: block;
      position: absolute;
      top: 47px;
      width: 100%;
      height: 1px;
      background: #ddd;
    }
    &:first-child::after{
      width: 50%;
      left: 50%;
    }
    &:last-child::after{
      width: 50%;
      right: 50%;
    }
  }
}
.reser-mingxi{
  .list-group-item.active{
    background: $theme;
    border-color: $theme;
  }
  p{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .reser-mx-m{
    background: #f2f2f2;
    margin-right: -15px;
    margin-left: -15px;
    margin-bottom: -10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 15px;
  }
}
.xinxi-tit{
  span{
    margin-right: 40px;
  }
}
.table-reserv{
  thead>tr>th{
    white-space:nowrap;
    font-weight: normal;
    background: #f5f5f5;
  }
  thead>tr>th,
  tbody>tr>td{
    text-align: center;
    padding: 10px;
  }
  .text-left{
    text-align: left !important;
  }
  label{
    input{
      vertical-align: sub;
    }
    margin: 0;
    font-weight: normal;
  }
}
.reserv-count{
  i{
    cursor: pointer;
  }
  .reser-num{
    border: 0;
    width: 80px;
    text-align: center;
  }
}
.tabs-table{
  background: #eee;
  border-bottom: 1px solid #ddd;
  font-size: 0;
  a{
    padding: 12px 18px;
    display: inline-block;
    color: #555;
    text-decoration: none;
    border-right: 1px solid #ddd;
    font-size: 14px;
    margin-bottom: -1px;
    
    &.active{
      background: #fff;
      border-bottom: 1px solid #fff;
    }
    &:hover,
    &:active{
      background: #f5f5f5;
    }
  }
}

/* 斜线 */
.rline{
  position: relative;
  display: inline-block;
  height: 100%;
  transform: rotate(15deg);
  &::before{
    content: '';
    position: absolute;
    display: block;
    width: 1px;
    height: 100%;
    background: $theme;
  }
}
.table-ithover{
  td {
    position: relative;
    height: 42px;
    a{
      position: absolute;
      display: block;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      color: #555;
      line-height: 36px;
      text-decoration: none;
      border:3px solid transparent;
      transition: all .4s ease;
    }
  }
  td.active,
  td:hover{
    a{
      border:3px solid $theme;
    }
  }
}
.admin-form .gui-textarea.text-table{
  padding-left: 10px ;
  height: 42px ;
  &:focus{
    height: 100px;
  }
}




/* zz */
@include biyao;